<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/view/system/common/headLogin.jsp"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<style type="text/css">
.myBoldLink{
	font-weight: bold;
	cursor:pointer;
}
</style>
<script type="text/javascript">
function showPwdupdate() {
	window.parent.showPwdupdate();
}

function loginOut(){
  window.parent.loginOut();
}
</script>
</head>
<body>
	<table>
		<tr>
			<td>
				<ul style="line-height: 28px;">
				   <c:forEach var="menuLevel2" items="${menuList}">
						<img src="asserts/system/images/menu/${menuLevel2.imgurl}.gif" /> ${menuLevel2.name}
				<div class="content">
							<ul style="line-height: 28px;">
							   <c:forEach var="menuLevel3" items="${menuLevel2.subList}">
									<img src="asserts/system/images/menu/${menuLevel3.imgurl}.gif" /> ${menuLevel3.name}
							<div class="content">
										<ul>
											 <c:forEach var="menuLevel4" items="${menuLevel3.subList}">
												<a class="myLink" style="line-height: 28px;"
													onclick="addTab('${menuLevel4.name}','${menuLevel4.url}','#tt','parent');">
													<img style="width: 15px" src="asserts/system/images/menu/${menuLevel4.imgurl}.gif" />
													${menuLevel4.name}</a>
										 </c:forEach>
										</ul>
									</div>
								 </c:forEach>
							</ul>
						</div>
					 </c:forEach>
				</ul>
			</td>
			<td style="width: 20px;">
			</td>
			<td style="vertical-align: top;">
				用户信息
				<br />
				<br />
				<table>
<!-- 					<tr> -->
<!-- 						<td> -->
<!-- 							工号 : -->
<!-- 						</td> -->
<!-- 						<td class="redText" style="font-weight: bold"> -->
<%-- 							${loginedUser.code} --%>
<!-- 						</td> -->
<!-- 					</tr> -->
					<tr>
						<td>
							姓名：
						</td>
						<td class="redText" style="font-weight: bold">
							${loginedUser.name}
						</td>
					</tr>
					<tr>
						<td>
							登录用户名 :
						</td>
						<td class="redText" style="font-weight: bold">
							${loginedUser.username}
						</td>
					</tr>
					<tr>
						<td>
							所属公司：
						</td>
						<td style="font-weight: bold">
							${loginedUser.areaname}
						</td>
					</tr>
					<tr>
						<td>
							分组：
						</td>
						<td style="font-weight: bold">
							${loginedUser.groupname}
						</td>
					</tr>
					<tr>
						<td>
							角色：
						</td>
						<td style="font-weight: bold">
							${loginedUser.rolename}
						</td>
					</tr>
					<tr>
						<td>
						</td>
						<td style="font-weight: bold">
						</td>
					</tr>
				</table>
				<br />
				其他操作：
				<br />
				<br />
				<table>
					<tr>
						<td colspan="2">
							<a class="myBoldLink" onclick="showPwdupdate()">修改登录密码</a>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<a class="myBoldLink"  onclick="loginOut()">退出</a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>